package pit.com.ordermobilesystem.widget;

import pit.com.ordermobilesystem.R;
import android.app.Dialog;
import android.content.Context;
import android.graphics.drawable.ColorDrawable;
import android.view.Window;


public class CustomProgressDialog extends Dialog{

	public CustomProgressDialog(Context context) {
		super(context);
	    requestWindowFeature(Window.FEATURE_NO_TITLE);
	    setContentView(R.layout.view_progress_dialog);
	    getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));
	    setCancelable(true);	
	    setCanceledOnTouchOutside(false);
	}

}
